//
//  UIButton+KR.h
//  KEREN
//
//  Created by MW on 2023/3/14.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIButton (KR)
+ (UIButton *)setButtonWithTitle:(NSString *)title titleColor:(UIColor *)titleColor titleFont:(UIFont *)font cornerRadius:(float)radius backColor:(UIColor *)color;
+ (UIButton *)setButtonWithImage:(NSString *)imageName  cornerRadius:(float)radius backColor:(UIColor *)color;

//日期选择按钮
+ (UIButton *)setButtonWithImage:(NSString *)imageName withleftTitle:(NSString *)title inSuperView:(UIView *)superView;
@end

NS_ASSUME_NONNULL_END
